package programs.expression.superClasses;


public abstract class BinaryExpression extends ComposedExpression {
	
	public BinaryExpression(Expression left, Expression right) {
		super(left,right);
	}

	@Override
	public abstract Object getValue();

	@Override
	public abstract ExpressionType getReturnType();
	
	@Override
	public int getNbOfSubExpressions() {
		return 2;
	}
}
